<<<<<<< HEAD
#include "stdio.h"

unsigned replace_byte (unsigned x,unsigned char b,int i)

{

  char *p=(char *)&x;

  p[i]=b;

  return x;

}

void main()
{
	printf("%d",replace_byte(0x12345678,0xAB,2));
=======
#include "stdio.h"

unsigned replace_byte (unsigned x,unsigned char b,int i)

{

  char *p=(char *)&x;

  p[i]=b;

  return x;

}

void main()
{
	printf("%d",replace_byte(0x12345678,0xAB,2));
>>>>>>> a9f1309d540fee3c464a41eaf6626eb0136d06d4
}